gnukfreebsd_linker_warnings
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Thu, 15 Aug 2019 14:15:39 +0000 (15:15 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 15 Aug 2019 14:15:39 +0000 (15:15 +0100)
Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

config.tests/unix/futimens/futimens.pro
config.tests/unix/getentropy/getentropy.pro
src/corelib/configure.json

index 83a122252adc64324df59170d26000f50f031afa..ef10eed913c470875f4e9dad23d5fa6c7cf87fa5 100644 (file)
@@ -4,3 +4,4 @@ SOURCES += futimens.cpp
 # targets. This simplifies the logic at the call site dramatically, as it isn't
 # strictly needed compared to futimes().
 darwin: QMAKE_CXXFLAGS += -Werror=unguarded-availability
+QMAKE_LFLAGS += -Wl,--fatal-warnings
index bdd626b513ba00dc719199b449843ff0b3486044..58a929338e940739496a11b63762e25642d52093 100644 (file)
@@ -1 +1,2 @@
 SOURCES = getentropy.cpp
+QMAKE_LFLAGS += -Wl,--fatal-warnings
index dfb575da0d102739ae249c3ccc0bb491cf66ee00..88bccc4005d42ae70742502f221954ac0b420d5e 100644 (file)
             "label": "O_CLOEXEC",
             "type": "compile",
             "test": {
+                "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings",
                 "head": "#define _GNU_SOURCE 1",
                 "include": [ "sys/types.h", "sys/socket.h", "fcntl.h", "unistd.h" ],
                 "main": [